import http from '@/utils/http';

export function getList(page,pageSize,number,phone,beginTime,endTime,status) {
  return http.get('/order/list',{
    params:{
        page,
        pageSize,
        number,
        phone,
        beginTime,
        endTime,
        status
    }
  })
}

export function getAllOrder() {
  return http.get('/order/allOrder')
}
export function updateStausById(id,cancelReason) {
  return http.post(`/order/updateStatus/${id}/${cancelReason}`)
}




